package cn.iocoder.yudao.module.biz.controller.admin.contract.autocode.rule.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 编码生成规则 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AutoCodeRuleRespVO {

    @Schema(description = "规则id", requiredMode = Schema.RequiredMode.REQUIRED, example = "7005")
    @ExcelProperty("规则id")
    private Long ruleId;

    @Schema(description = "规则编码")
    @ExcelProperty("规则编码")
    private String ruleCode;

    @Schema(description = "规则名称", example = "张三")
    @ExcelProperty("规则名称")
    private String ruleName;

    @Schema(description = "编码长度")
    @ExcelProperty("编码长度")
    private Integer ruleLength;

    @Schema(description = "状态", example = "2")
    @ExcelProperty("状态")
    private String status;

    @Schema(description = "删除标志（0代表存在 2代表删除）")
    @ExcelProperty("删除标志（0代表存在 2代表删除）")
    private String deleted;

    @Schema(description = "创建部门")
    @ExcelProperty("创建部门")
    private Long createDept;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

}